/*******************************************************************/
/* @ All Rights Reserved Copyright (C) 2014 broada,Co.,Ltd.        */
/*                                                                 */
/*  NAME      = frreport_dbg.h                                     */
/*  NOTE      = 测试代码                                       */
/*  DATE      = 2014/12/05                                         */
/*******************************************************************/

#ifndef __FRREPORT_DBG_H_
#define __FRREPORT_DBG_H_

//#if defined(FRDBG_REPORT_TESTTOOLS) || defined(FRDBG_REPORT_FILE) || defined(FRDBG_REPORT_SHOW)
    int frdbg_report_data_format(Frreport_data *p_st_report_data
                                , int i_flag_style
                                , char **pp_data_out
                                , unsigned int *p_ui_data_len);
    void frdbg_report_data_write(const char *p_filename, const char *p_data, unsigned int ui_data_len);
    void frdbg_report_data_send_udp(const char *p_srv_ip, unsigned int ui_srv_port, const char *p_data, unsigned int ui_data_len);
    void frdbg_report_data_send_tcp(const char *p_srv_ip, unsigned int ui_srv_port, const char *p_data, unsigned int ui_data_len);
    int frdbg_rename_filename(const char *p_oldname, char **p_newname);
//#endif

#endif
